projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4752de8
)
Allow for line breaks in a bytecomp test
author
Glenn Morris
<rgm@gnu.org>
Thu, 13 Jun 2019 02:31:00 +0000
(19:31 -0700)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 13 Jun 2019 02:31:00 +0000
(19:31 -0700)
* test/lisp/emacs-lisp/bytecomp-tests.el (test-suppression):
Warnings from the byte compiler may be filled.
test/lisp/emacs-lisp/bytecomp-tests.el
patch
|
blob
|
history
diff --git
a/test/lisp/emacs-lisp/bytecomp-tests.el
b/test/lisp/emacs-lisp/bytecomp-tests.el
index 86cf2edec8b8615a0c668099ffb7276887a28cc0..289bd18a96193ce9d44d12de4c0d440a820e1e6f 100644
(file)
--- a/
test/lisp/emacs-lisp/bytecomp-tests.el
+++ b/
test/lisp/emacs-lisp/bytecomp-tests.el
@@
-697,6
+697,7
@@
literals (Bug#20852)."
(with-current-buffer byte-compile-log-buffer
(unless match
(error "%s" (buffer-string)))
+ (setq match (replace-regexp-in-string " " "[ \n]+" match nil t))
(goto-char (point-min))
(should (string-match match (buffer-string))))
;; And that it's gone now.